package org.example.mybatis.service;

import org.example.mybatis.dao.UserMapper;
import org.example.mybatis.po.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 季舟
 * @Date 2025-02-06 13:16
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User queryUserByUserName(String userName){
        return userMapper.queryUserByUserName(userName);
    }
}
